﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 产品服务接口
    /// </summary>
    public interface IMaterialProductService
    {
        string Add(T_Material_Product model);

        bool Delete(List<string> ids);

        bool Update(T_Material_Product model);

        T_Material_Product GetById(string id);

        List<T_Material_Product> GetList(string companyID, string customerID);

        PageData<T_Material_Product> Query(string companyID, string customerID, string category, string productCode, string productName, PageInfo page);
    }
}
